package com.gxa.service.impl;

import com.gxa.mapper.CompanyInfoMapper;
import com.gxa.pojo.CompanyInfo;
import com.gxa.service.CompanyInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class CompanyInfoServiceImpl implements CompanyInfoService {

    @Autowired
    CompanyInfoMapper companyInfoMapper;

    @Override
    public int insertCompanyInfo(Map map) {
        return companyInfoMapper.insertCompanyInfo(map);
    }

    @Override
    public List<CompanyInfo> findCompany() {
        return companyInfoMapper.findCompany();
    }

    @Override
    public int updateCompanyInfo(Map map) {
        return companyInfoMapper.updateCompanyInfo(map);
    }


}